<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 试图容器 -->
    <div id="app">
        {{msg}}
    </div>
</body>
<!-- 引入vue3 -->
<script src="./lib/vue.global.js"></script>
<script setup>
    //从vue3中解构出createApp方法
    const {createApp} =window.Vue
    //用createApp方法创建应用
    const app =createApp({
       data() {
        return {
            msg:'heloo baga'
        }
       }
    })
    //挂载应用到真实DOM上 
    app.mount('#app')
    
    
</script>
</html>